While a misdemeanor is certainly a crime in Arizona, it's far less serious than a felony, and so the law puts upper restrictions on the sentences. They cannot go above these maximum limits, no matter what the judge desires. While the judge does have the power to use a lesser sentence -- such as probation or house arrest -- these regulations put a check on a judge's power.
Facing any criminal charge, even a misdemeanor, can be stressful. Even though a misdemeanor is a less serious charge than a felony, it can still cause problems for you. Knowing how a misdemeanor is handled can help you if you find yourself charged with one.