Sorry. That is incorrect.
Try it and you will see that the voltage is not affected by moving the water inside or outside of the cell.