If you mean Arizona, see Title 16:
> After the canvass has been completed, the officer in charge of elections shall deposit the package or envelope containing the ballots in a secure facility managed by the county treasurer, who shall keep it unopened and unaltered for twenty-four months for elections for a federal office or for six months for all other elections, at which time he shall destroy it without opening or examining the contents.
> The officer in charge of elections shall ensure that electronic data from and electronic or digital images of ballots are protected from physical and electronic access, including unauthorized copying or transfer, and that all security measures are at least as protective as those prescribed for paper ballots.