It's generally not a problem to have a glass of water by your bedside. However, if you're prone to spills or accidents, it might be best to keep it on a stable surface.