So as long as you're keeping the calories/fat in check with your liquids, it's pretty much the same as drinking water.
Water is better, but diet coke or orange juice or gatorade is still liquid and will still hydrate your body.