There are two potential problems with using a long cable:
1) The resistance of copper is more temperature dependant, than a resistor, which is designed to be temperature independent.
2) Cable has more inductance and capacitance, than a resistor, which could cause the circuit to oscillate.