Chris Pratt and Anna Faris must live within five miles of each other for the next five years, according to their divorce settlement.