Dreaming of a dead friend, like any other death dreams symbolizes healing and overcoming grief. Sometimes your unconscious mind can tempt your sleeping brain to create weird stories that may or may not have any significance in waking life.  It may come to you when you are going through a major life change that is emotionally overwhelming.