It's usually 3. 6 for senior or executive positions, but basically, it goes both ways. You can't have an imbalance in the company's favor, so if you have to give notice 6 month prior, the company have to give you notice at least 6 month prior dismissal (it can be a year for executive position).