Dispensation after your residence permit has lapsed
You can apply that your residence permit not be considered as lapsed if you are outside Denmark and have exceeded the time limit, or if you have given up your residence. The Danish Agency for Labour Market and Recruitment can decide that your residence permit should not be considered as lapsed if:
it was your intention to return Denmark before the six- or 12-month time limit, and
you were prevented from returning to Denmark by unforeseen circumstances beyond your control. Such circumstances include: illness, imprisonment, war-like situations, natural disasters or problems leaving the country in which you were staying.
Furthermore, the Danish Agency for Labour Market and Recruitment can decide to grant you a dispensation if your stay outside Denmark was due to a wish for repatriation which you later regretted.