Two weeks is not enough to hand off your work and allow a company/team to prepare.
If your managers are asshole, then maybe you cannot change your environment by voicing concerns, and risk being fired. But if you made up your mind and know you're leaving, by giving 2 months notice you can make sure not to leave your team in a bad state
If arguments based on core-values do not sway you, doing the right thing is also the way to get good recommendations and opportunities in the future.