Lyric discussion by aimlessalpha 

I remember hearing that Ed said it was about a friend that died. If you put it in that way, it makes sense, especially at the end when he says

"I play the Lord to keep I pray the Lord to hold you tight"

Sleeping is a metaphor to him being dead, and he is saying goodnight to try to finally be at peace with him probably.

An error occured.