Is length of the thermo coupler in a water heater important?

I need to replace the 8 1/2 inch thermo coupler on the water heater in my camp trailer but the shortest one I can find in town is 18" long; will it work; - - -
safely and - efficiently?
10 answers 10