A spouse can still use a married name after divorce. The law does not force them to change their name after divorce.
If a person took their spouse's name in the marriage, the court can allow them to return to their maiden name or any other former name. The person should make this request as early in the case as possible.
But a divorce does not allow a person to take a new name that they never had before. If a person wishes to change their name to something new, they have to file a separate case.