If you're divorcing with children, you may have a disagreement with your divorcing spouse about how to share parenting time with the kids. If you can't agree, each of you will have to develop a proposed parenting plan to submit to the court. Then a judge will decide which plan provides for each parent's legal decision-making authority over the child and maximizes each parent's parenting time.
In any divorce with shared children, you will need to determine whether both parents will have legal decision-making authority and how much parenting time each will have. In general, you can negotiate this instead of going to court, although whatever agreement you reach must accord with Arizona law. If you do go to court, the court will make these determinations based on the children's best interest.