Section 23. The court granting a divorce may allow a woman to resume her maiden name or that of a former husband.