Yes, that is true, I have experienced this myself. When I fast, I drink about 1 gallon of water daily.
The reason is that your body realizes it doesn't have to hold on to its own water when you drink this much. It does not need to worry about dehydration anymore. So, drinking a lot of water causes you get rid of retained water. Strange, but true.