Legally speaking, of course, you don’t have to tell your boss anything about your marital life. If you’re getting divorced and you want to keep it to yourself, that’s fine. You don’t have to say anything.
That said, it is often best to talk to your boss and at least give them an idea of what is going on. You don’t have to get into the details, but it can be helpful for them to have the basic facts because the divorce could impact your job in a few different ways.
For instance, perhaps your divorce is going to go to court, rather than just be mediated. This means you have to set court dates, and you may not have much say over when they are. That could mean you need some time off or that you at least need a more flexible schedule.
Another possibility is that your paychecks are getting deposited into a joint account that you and your spouse opened when you got married. In light of the divorce, you may be opening up an individual account for all future paychecks. You need to update that information with HR to make sure that the money goes solely to you in the future. This is especially true if your spouse is very financially controlling.
Divorce can get complicated. It can raise questions in a lot of areas of your life that you may not have before considered. Make sure that you think about it all very carefully, that you understand your rights and that you consider the legal steps you’ll need to take as you move forward.