In order to c/s to H-1B on April 1, you have to maintain legal nonimmigrant status up to September 30. Otherwise even if the H-1B petition is approved, you will have to leave and obtain the visa abroad to return to the US provided you have not accrued 6 months unlawful presence.