As you were previously told, that depends on your state's laws and the context. You have given us neither, beyond this being associated with a criminal charge against you. Ask your lawyer, or ask the court.