It should be fine to use as long as you make sure there aren't any holes the snake could get stuck in (you know, how people sometimes drill out the "eyes" of the coconut). I don't see a need to sterilize it, but you could bake it at a very low temp for a couple hours.