When parents get divorce, the family court will either give sole custody to one parent, or joint custody to both parents.
If the judge grants one parent sole custody, the child would live with that parent (called the custodial parent) and would probably visit the other parent (called the noncustodial parent). Usually, the judge will issue a visitation order, which gives the noncustodial parent the right to visit with the child at certain times, like on the weekends, holidays, or over the summer.
If the judge grants joint custody, the parents would share the child as equally as possible. The time the child would spend with each parent would depend on how close the parents live to each other. For example, if each parent lived in the same school district, the child could live with one parent one week and the other the next week. However, if the parents live far apart, the child might spend the school year with one parent and the summer and holidays with the other parent.