Ariz. Rev. Stat. § 38-804
C. If a member who becomes a member of the plan before January 1, 2012 ceases to hold office for any reason other than death or retirement, within twenty days after filing a completed application with the board, the member is entitled to receive the following amounts, less any benefit payments the member has received and any amount the member may owe to the plan:
2. If the member has five or more years of credited service with the plan, the member may withdraw the member's accumulated contributions plus an amount equal to the amount determined as follows: