My arm used to fall asleep during the day and
then it would be up all night (joke). Because of
the position your body is in when you sleep,
you are simply "pinching" a nerve. It happens
to me too. The only way to avoid this is to
make yourself sleep in a different position that
will prevent this nerve from being "pinched".