Yes
PHB pg 203 states
Once a spell is cast, its effects aren’t limited by its range, unless the spell’s description says otherwise.
Regarding the specific question about Flaming Sphere since the spell does not specify any limits to its range after casting it can therefore can be moved outside of the spells original range