The 12 - month period is calculated from the traffic citation / violation date, not defensive driving school class attendance date. (arizonadriver.com)
If you take driving school classes for your own person education, then you are advised to take the course online. (dmv.com)
In order to verify this option and inquire about the possibility to attend online driving school classes, contact the corresponding court. (dmv.com)