Answer
The water will stop flowing from the holes when the cup and water are dropped.
Work Step by Step
The acceleration (due to gravity, g) is the same for the cup and water when they are in freefall, so they fall together.
Another way to see it is that for relative motion to develop between the cup and water when they both start from rest, they would have to possess different accelerations, but they do not.