Moving out of state for work have house 23 months and 3 days at time of new sale. Do we qualify for I for a capital gains exemption for AZ state taxes

House sold 23 months and 3 days from purchase. Moved from AZ to MI for work. Have not taken a cap gains exemption in last two years.