Most of the time this is caused by simple pressure on the nerve
that innervates the arm. Pressure on the nerve will reduce or stop the blood flow to the nerve, and the numbness
and pain ensues.
It will likely wake you us, you will roll off the arm, blood will be supplied to the nerve, and within a few minutes, the nerve will be functioning normally.