Yes, generally speaking. Federal law governs when you can take a distribution from your retirement plan account; upon your retirement, death, disability, or termination of employment, or by a Plan loan if loans are allowed by your Plan, and for certain situations called “Hardship Distributions.”
Additionally, the CARES Act has been passed and allows Plan Sponsors to adopt provisions regarding distributions specifically related to or caused by COVID-19.