Ariz. Rev. Stat. § 25-1031
A. Except as otherwise provided in section 25-1034, a court of this state has jurisdiction to make an initial child custody determination only if any of the following is true:
2. A court of another state does not have jurisdiction under paragraph 1 or a court of the home state of the child has declined to exercise jurisdiction on the ground that this state is the more appropriate forum under section 25-1037 or 25-1038 and both of the following are true: