I'm sorry for the vagueness here: As a child (I would say definitely in the range 1995–2003) I watched an episode of a TV show which had as a plot point that people in the afterlife lost their memory of their life and those they had known. Definitely live-action, English-language and I'm pretty certain an adult cast. It would have been on British TV but could definitely have been a non-British production. I don't think I remember more (but feel free to ask in the comments) but that particular plot made an impression on me as a child.
I have a persistent feeling that it was a Wishbone episode but my searches didn't turn up anything promising. I do think it's likely that this was a show with each episode a self-contained plot (as is the case with Wishbone) rather than an ongoing plotline across episodes.