The main point of a contempt sentence is a period of time in the slammer that forces the offender to think about what they've done (or haven't done, in cases where the judge is trying to force compliance with a court order) and (hopefully) change their behavior. But this judge seems to think that contempt sentences are punishment. Unfortunately, that's illegal under the due process clause of the Constitution.
No, the proper procedure is to give the woman 30 days, then bring her back and see if her attitude's changed. If not, give her another 30 days. At some point, a trial on the original charges will occur, with or without her cooperation, a verdict will be decided, and a sentence imposed if she's found guilty. At that point, any remaining contempt sentence becomes irrelevant.