If you're putting a whole sentence in parentheses, the custom follows logic -- put the period inside the parentheses, not outside it. Thus, for an example from a court case (in a state, California, ...
What to do with punctuation in and around parentheses? Does it go outside (like this)? Or should it stay inside? (See examples in this episode of Comma Queen.) ...