You have to be a resident of the state you're purchasing a pistol in (rifles are different). So if your drivers license is not AZ (regardless if you have an AZ CCW or not) then you will not be able to purchase a pistol here.