When you are getting divorced do you have a right to an attorny just like when you commit a crime?

Also, can a spouse REFUSE to sign papers?