If your H-1B still valid, and your company still pay you, You can work if you prefer till H-4 is approved.