Ariz. Rev. Stat. § 25-408
A. If by written agreement or court order both parents are entitled to joint legal decision-making or parenting time and both parents reside in the state, at least forty-five days' advance written notice shall be provided to the other parent before a parent may do either of the following:
F. Pending the determination by the court of a petition or application to prevent relocation of the child:
I. In determining the child's best interests the court shall consider all relevant factors including: