When leaving your vehicle unattended:

In general, you should always use the parking brake when parking your vehicle. However, you should not apply the parking brake if your brakes are very hot or if your brakes are wet and temperatures are below freezing.
DMV Writen Test