I actually kept my corn in a 55 when I first got the little worm

. As long as you don't mind panicking once or twice because you can't find him anywhere in there, you'll be fine. One time mine somehow ended up in the very bottom of a plant pot...
I think a big part of the fun of snakes is watching their behavior, and where they choose to hide when given many options is part of that.
Ended up moving across country and left the big aquarium behind, so my guy is in a 40gal now. I don't think he misses it too much, though.