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, ...
When we're writing, we can add extra words to a sentence to give more information or explanation. We call the extra words that have been added a parenthesis. Parenthesis is a word or clause inserted ...