Electrical wire has an internal resistance, which means electricity gets lost (as heat) and the longer the wire the greater the loss. So the general rule of thumb will always be keep wires as short as possible to avoid losses/waste.
The higher the voltage in use, the lower the relative loss...