Ariz. Rev. Stat. § 28-8290
A. On pronouncement of a jail sentence under section 28-8284, 28-8287 or 28-8288, the court may provide in the sentence that the defendant may be permitted, if the defendant is employed and can continue employment, to both: