While I am not licensed to practice law in your jurisdiction, I can provide you with general divorce help for men.
I encourage you to speak with a mens divorce attorney in your area for specific legal advice on divorce because every state has its own laws on contracting and what is allowed in a marital settlement agreement.
Most states would not allow such a provision as it is a restraint on Constitutional freedoms. I am unaware of any states where such an agreement would be binding or approved by the court, and I would be very surprised if any state would allow such a provision.
I highly recommend you consult with a qualified divorce lawyer for men who can give you specific advice on divorce and actions you should take in your case.