Deregistration from the Netherlands
Do I need to deregister with the municipality before I leave the Netherlands?
What happens to my DigiD? Does everything get deactivated?
The DigiD is linked to the government database; therefore they should get a notification from the municipality about your deregistration. However, you will still be in the records database because this is a unique login connected to your social security number in the Netherlands. The DigiD will expire after three years if it has not been used. If you choose to come back to the Netherlands after that time, you will need to reactivate it.
In order to claim back employment tax after leaving the Netherlands, you will need to keep your DigiD activated. Take into account that you cannot activate a new DigiD account from abroad unless you are a Dutch citizen or the nationality of an EEA country (EU plus Norway, Liechtenstein and Iceland).