Britney Spears and Kevin Federline have agreed upon a custody arrangement for their two sons at least for the month of January, according to legal documents obtained by PEOPLE.
Spears, 25, will have custody of Sean Preston, 1, and Jayden James, 4 months, most of the time, but Federline, 28, will be allowed to see the boys three times a week for four hours between Jan. 12 and 31 at Spears's residence.
Both parties agreed that the only people allowed at the visitation will be Spears, Federline, a nanny, Spears's personal assistant and household staff.
Meanwhile, Spears is permitted to take the children to Miami from Jan. 5 to 11. She has agreed to keep Federline apprised of her location while in the city.
The arrangement only applies for the month of January, as TMZ.com reported Friday.
Spears
filed for divorce on Nov. 7, seeking sole custody of the children; in documents filed the next day, Federline also
asked for sole custody.