My understanding is the parking brake valve closes the brake line while pressure is held on the brakes, allowing the brakes to stay "set", with the pressure remaining in the line.
A failed parking brake valve would potentially keep you from setting the parking brake, but unless its also leaking fluid, I don't see how it could affect your brakes.
Attached are a few relevant pages from the P337H service manual: