Do I become an undocumented if the waiting period of 240 days passed after renewal of my H1-B?

I received the filing receipt after the renewal request for my working visa was accepted, and I heard that When I get the filing receipt, I may stay 240 more days. What should I do if the renewal process takes more than 240 days.