In France, you can marry a dead person.
There have been instances in the country of France where women and men alike have married their dead boyfriends and girlfriends.
In practice, this means that while a living person may marry someone who is dead, they cannot receive any of the deceased’s money or belongings.