as BCS said, she just resting and that's how she's comfortable.

stargazing looks like the snake is in some sort of seizure. they will be twisting, corkscrewing and flopping around.

anyway good job on adopting/rescuing your snake.