Technically, an obituary is optional. It’s not a legal document. Therefore, the law does not require you to write an obituary.
But, you shouldn’t treat an obituary as optional. You write obituaries to remember someone’s life and accomplishments. Obituaries are important. They honor those who have passed away. And, they provide comfort for friends and family members.