Staying cold blooded animals snakes will need warmth from their surroundings to allow them to complete fundamental features. When it receives cold they like to find a heat spot, curl up, and go to sleep. That currently being said never think a snake is sleeping simply because even in Wintertime they are able to wake and protect them selves.