This means joint legal custody or joint physical custody or both. In most cases, in order to obtain an order for joint custody, both parents must agree to and submit a written parenting plan to the court.