No, but legal guidance can be helpful.
While you are not required to have a lawyer, having legal advice can ensure your rights are protected and all documents are filed correctly. Many couples use mediators or legal professionals to help draft agreements.