Once your divorce is granted, you need to take your divorce decree to Department of Social Security. They will give you the forms to fill out to change your name and SSN back to your madien name if that is what you want.
You fill out a form with the social security office and may need to have proof of your divorce. After you have changed it with the office other companies will change you information by request and proof of the change.
During the divorce you can tell the judge that you want to change your name back to your maiden name. And after that you need to go to DMV and file for a new license then you have to go the Social Security office and file for a new Social Security number.