Chris Pratt and Anna Faris have settled their divorce as amicably as possible.
A private judge dissolved their marriage on Wednesday, according to court documents obtained by PEOPLE.
The two exes agreed to share joint legal and physical custody of their 6-year-old son Jack with the duo agreeing on a “flexible timeshare” that is dependent on their availability and work schedules.
The stars have also agreed to live no further than five miles apart from each other until their 6-year-old son Jack completes the sixth grade, according to their divorce settlement.
As part of the agreement, the two must provide written notice to each other if they plan on moving away outside of the five-mile limit. If either star desires to take Jack on a trip out of the country written notice will also need to be provided with 30 days notice.
Reps for both stars had no comment.
Pratt, 39, and Faris, 41, waived their right to spousal support from each other, however, as the two signed a prenup one month before their marriage in July 2009 that “is the governing document with regard to issues related to spousal support, community property, separate property, assets, liabilities, debts and reimbursements.”
As for child support, the court documents state “the parties have specifically agreed that child support shall be set at $0, and that neither party shall pay child support to the other at the present time.”
The pair will keep a joint bank account for Jack’s monthly expenses — which include clothes, child care, private school tuition and other expenses — with both of them responsible for refunding the account on a yearly basis.