If you dreamed about having a life after death (being a ghost/spirit), this suggests that you are feeling disconnected in some way from life and society. This dream may be a calling for you to move on and abandon your outdated modes of thinking and behavior, and make a positive change in your attitude.
[1]