Parking brake is a misnomer. It's really referred to as an emergency brake or e-brake. Over the years people got use to calling it a parking brake because that's the only time they use it.
While I haven't looked at the e-brake system on newer cars, the ones that are electronically controlled...