Can you keep a baby red eared slider out of water over night?

Yes, I put my baby slider in a sand filled terrarium over night and feed him in water and he is doing ok