(This naturally depends on the country) Companies heavily prefer you quitting/resigning instead of making them fire you. If they fire you, there are potential legal ramifications as well as fees they might have to pay.
They just want to avoid liability. Thus, it's almost always in your best interest to just wait for the company to fire you.