Yes. As a matter of fact, up to 16 liters of water a day can give you heartburn—too much water moves the stomach out too far and places stress on other organs in the chest cavity.
There is no magic number for how much to drink each day, but there are ways to estimate that amount. Drink when your mouth feels dry and you want more fluid. There are three meal times per day-standing at your desk doesn't count as a mealtime! So between meals, if you have been drinking coffee or tea all morning long, stop for an hour or so before lunch time or wait until you get home from work before having another cup of anything caffeinated.