Yes,
You can heat the valve and pull the pipes out.
You can resolder with new pipe, by heating the valve, reinserting the pipes and soldering the new pipes.
Most plumbers don't reuse valves, but prefer to install new valves.
You won't get a better time to do it.