Death groupie
A person who feigns closeness with someone who has recently died in order to receive sympathy and/or attention. Usually achieved by social media, this person will embellish or exaggerate a relationship with the deceased, giving a false impression that they were close friends.
"Wow, she sure seems to be sad about Bob's death. I didn't even know they were friends." "They weren't. She's a death groupie."