If you leave them out of the water they will start to dry out quickly. It is just as easy to scoop out some tank water into a container and put them in that water where they will be fine for many hours. Left out of water it would depend on many factors, temperature, humidity, sunshine/shade...