PVC piping doesn't loosen very well because it uses a chemical glue that burns itself into the PVC when it bonds. Thus most jobs just replace it; PVC is cheap.
You cannot loosen old pvc pipe. PVC - Poly Vinyl Chloride pipe is joined using a primer and a cement. The plumbing codes refer to this as a solvent weld joint. It is permanent when made properly.
If loosen means to disassemble the only thing to do is cut the old joints. The glue used in assembly causes the mating surfaces to slightly melt and fuse together. The joint will not come apart in your grandkids lifetime!