My husband got laid off. How many days after will we still have insurance?

How many days after my husband gets laid off will we still carry insurance?