It is against the law for anyone between the ages of six and sixteen to not attend school. However, there are some exceptions through excused absences, home school, etc. Even if you miss just one class period without an excuse, you are considered truant.
If you miss school a lot (5 days, unexcused) you are considered to be habitually truant (ARS 15-803). An attendance officer can enforce this law. The officer can give you a ticket requiring you and a parent to appear before an official of the court. (ARS 15-805) If you are habitually truant you could be put on probation, have your driver’s license taken away, or have to attend counseling or educational classes. (ARS 8-323)