Of these, the word is never used in the sense of the disembodied spirit of someone who has died. It is used in only two ways.
First, it is used in the phrase “to give up the ghost,” meaning “to die.” Second, it occurs as the title, “the Holy Ghost,” the third person of the Godhead or Trinity.
The Bible refers to the spirits of the dead as “familiar spirits,” (see, Leviticus 19:31, Deuteronomy 18:11; 2 Kings 21:6; Isaiah 8:19, etc.) and warns against having anything to do with them.
These are the 'spirits' of the demons and fallen angels who are attempting to deceive and torment us. They are not the spirits of humans who have died:
Hebrews 9:27 "It is appointed unto men once to die, but after this the judgment."
Please see the rest of this article HERE.