Disconnecting Long, Clipped Pipe Runs
They make various repair couplings that slide over the pipe. Some are made to solder, some have pressure-rated rubber gaskets. There are probably additional types out there too. All require a gap in the pipe.
To replace an inline component, you would cut the pipe directly upstream or downstream of the component in question, replace your component, then refit using a repair coupling:
solder type (repair, or no-stop, coupling):

rubber gasket type (moody coupling):