Upon the request of either spouse to change that person's own name, the court, when entering judgment for divorce:
1. Former name. Shall change the name of that spouse to a former name requested; or
2. Any other name requested. May change the name of that spouse to any other name requested.