How far is too far? Coil location

Biggest thing I have seen with coils is not the length of the lead but if it is oil filled it has to go in the vertical positon, epoxy filled can go anyway.