I am not licensed to practice law in your state.
As long as you do not have a written employment contract, you can be fired for any reason or no reason UNLESS the decision is based on some impermissible discrimination such as age, race, ethnicity, disability, or other protected status. Also keep in mind that such discrimination claims are very difficult to prove. If you believe there is impermissible discrimination, you can file a complaint with the Equal Employment Opportunity Commission.
As a practical matter, you can try to wait until the company lays you off because it will have to pay for your unemployment benefits while you look for another job. If you quit, you will not be eligible for such benefits.
This information is given for educational purposes only. No attorney-client relationship exists between us.