In many tales people who’ve died don’t realize it until they try to travel to a place that’s new to them and find themselves prevented from arriving. These ghosts can only return to places where they’ve already been; that’s all that’s left for them. Depending on the person that can still be quite a broad existence.