This question already has an answer here:
- How should a user's death be handled? 6 answers
It's going to happen, and probably has already - the user dies.
Subject to a reasonable process (email from relative, plus attempt to contact user, etc), set a flag on the user's profile to indicate they are no longer with the living.
Why? No really compelling reason; AFAIK Facebook has this feature, and it would prevent fruitless entreaties to contact them.