The state does. And once a death certificate have been issued and filed, proving you are in fact still around is whole can of worms of its own.
eg https://www.theguardian.com/lifeandstyle/2021/jul/03/they-sa...
Edit: and a few others https://news.ycombinator.com/item?id=48060857
The Romanian man Guardian article has a great and horrible quote:
> The court told him he was too late, and would have to remain officially deceased.
I read the first link and was curious what the outcome of the case was, since the article was released in 2021. It seems that Jeanne was declared alive again in 2023, which is the most recent public reporting on the case:
https://www.leprogres.fr/faits-divers-justice/2023/02/28/jea...