I think it means that the song-writer is looking at the body as a temporary, or short-term prison for the spirit or soul. Prison might be too strong of a word. A holding cell is to keep people for a short period of time. They are not necessarily criminals, but some authority does not want them to go away, at least not for a short while.