The cell voltage depends on the difference of the "
standard electrode potential" of the two metals. See here
http://hyperphysics.phy-astr.gsu.edu/HBASE/Chemical/electrochem.html#c1 or in the wikipedia.
The distance between the metals plays a role insofar as (in general) the electrolyte conducts electric current not as good as a metal. Therefore it poses a resistance to the current.
As long as the cell is unloaded (no current), you won't see a difference. The cell voltage will be the same if the electrodes are spaced close or far apart. If you load the cell (draw power from it), then the voltage of the cell with electrodes spaced far apart will drop significantly.
You can observe this effect with commercial cells (e.g. AA alkaline battery) when its power has mostly expired. Measure the voltage of the unloaded cell with a voltmeter and you will still find a reading near 1.3V-1.5V. Add a load (e.g. a lamp) and the voltage will drop below 1V.
The minimum distance is practically given by the requirements
1) the electrolyte must fit between the two electrodes
2) the two electrodes may not touch
plus a certain add on for safety (remember that the electrodes will move due to movement of the cell, thermal expansion or contraction etc. Commercially a separator (see
http://en.wikipedia.org/wiki/Alkaline_battery) is used to keep the electrodes at distance. You might try a sheet of blotting paper.
The maximum distance is given by
1) the size of the cell
2) the resistance of the electrolyte
Oh, and by the way: water alone is not a good
electrolyte for your cells as it is barely electrically conducting. You'll need an additive, typically an acidic one. A simple, inexpensive and not dangerous additive is plain table salt.
Harald