H1 with company B

Hi iam health care professional working with company A my H1 B valid till 2024 feb
& I got job offer company B they are in process to transfer H1 b with them , my question can i still work with company A even company B apply H1 B if i get h1 b reciept .Company A not terminated they said work untill u leave .


Yes this is absolutely fine. Just make sure you dont end up working for both employer at the same time. Start with employer B once you stop working for employer A.
Optionally you can also work for more than one employer at the same time however the other employer will need to file a concurrent H1B petition.