Is it true that some people know where you are going when you die?

My neighbor died and her sister spoke in front of people saying she's happy her sister died because she knows where she's going (maybe heaven is what she's implying?) I don't know too.
But all I know is that she was sweet when she was alive and jolly but Im just curious how some people know when you are sweet you're going to heaven is that enough to go to heaven being nice?
Is it true that some people know where you are going when you die?
Post Opinion