Ariz. Rev. Stat. § 43-1041
A. A taxpayer may elect to take a standard deduction as follows:
G. A taxpayer is not allowed to change an election to take, or not to take, the standard deduction if:
1. The spouse of the taxpayer filed a separate return for any taxable year corresponding, for the purposes of subsection D of this section, to the taxable year of the taxpayer unless both of the following apply: