If a member state votes to leave, there is a 2 year transition period where all current protocols/laws/deals remain in place. So nothing would change overnight.
People will still need to send parcels, life goes on, dhl as a business will simply adapt as required.