Purging the handpiece before removal from the air supply helps to clear the water lines and ensures the handpiece is ready for sterilization.