Better:

"Both spouses agree to not bring people of the oppositive sex around the children for a period of no less than six (6) months following the date of this agreement."