Pillowcase is for ease of transport and security for the snake, it has nothing to do with the snake being in shed.
As was stated, a small cooler with newspaper around the snake in the pillowcase and maybe a heat pack is all you will need. Just tie the pillowcase low to keep the snake snug but not restrained.
Gavin