This question already has an answer here:
I will resign at my current job next week (16.05. would be the earliest possible date). I have one month of notice period, which means my last day is the 30th of June.
Now I have already holidays for 3 weeks in June planned. But I still have enough holidays left (for the half of the year obviously) and days of overtime so that I could stay at home already 4 days after I hand in my resignation.
As a side note: there is not really any software project which I worked on completely on my own, so there is not too much of knowledge transfer to be done. Also this is in Luxembourg, if this changes anything.
So in general I know, that, by law, all this time is rightfully mine and that my employer will need to pay the time if I am not allowed to take the time off. But I am asking myself at the moment if it is morally okay to take the time off so that the notice period is actually non-existent.