In Spain, the notice period is 15 days, even if your contract says you have a longer notice period and an economic penalty clause. 15 days including the holidays you have accumulated. The trade-off is if you leave you don't have the right to unemployment benefits, that only happens if your employer fires you.