Space is a vacuum, and water boils in a vacuum. You couldn't have a glass of water in space because it would vaporize really quickly.