Yes, you can have water in between the sections too but don't leave your place while drinking water. To be safe the best option would be taking permission of the proctor during exam but sometimes the proctors do not really respond so if you really need to drink water between sections, you can go ahead and drink water.