Yes but… I have also quit/lost jobs on this basis before. It did not change the situation at the job; it just meant I needed to find a new job. Being right still means being broke.
Which is why you live with the situation (whatever it is) until you find new work and, then, you quit. Always have a gig to go to before you leave your previous gig, unless you're ready to retire. And, "two week's notice?" Fugghetaboudit! In a lot of highly sensitive jobs (sales, customer service/facing, High tech & proprietary knowledge, product development, etc.) the moment you walk in to "give notice," you're usually out the door within the hour with a security guard escort. Better have your home/car keys in your pocket and your personal possessions cleared out of your office/desk before you do it. You might not get a chance to go back to get them! Yes, you'll get paid for the notice time, but they don't want you anwhere near the building, the other workers, or the proprietary data/information. That's much more valuable to them than the paid time. Being laid off is a different story. Hopefully, you'll get wind of it well in advance so you can start looking for a new gig. I knew it well in advance of when I got laid off from my Wall St. firm. In fact, I "engineered" my being laid off. That way, I got a 12 year Severance Pkg out of it.
BTW, it can work "both ways," though. I recall working for a small company where they were having trouble and had to do company-wide layoffs. In my division (headed by the VP of Finance), only two people were laid off. One was the financial "controller' and the other was my IT Dept's director. Apparently, both had "personal" issues with the VP of Finance so these were "surgical strikes." The controller was very well liked by the employees and the negative reaction to his dismissal was so great that the VP of Finance had to rescind his decision about the controller, which he did... only to have the controller "quit" on his own a few weeks later after he found a new gig. Oddly enough, he was allowed to stay long enough to do things like write performance reviews for several of his direct reports, etc.
It's weird. I recall that day well. I recall the "Mainframe" operations manager was ordered to shut down the IBM mainframe system (i.e. shut down CICS), just before the company president announced the layoffs to the employees in the cafeteria. And it stayed down until all those being let go were out of the building. This was on a Friday. The following Monday, as we entered the building, we had to show our employee ID to prove we were still "employeed" there (normally the receptionist just recognized us... the company was that small).