Yes alcohol is a diuretic thats why its wise to drink a large glass of water after a drinking session and before going to bed.

Not forgetting to get out of bed before you go for a pee