H4 to h1b visa transfer query on RFE


While being in US if one has applied for cos from h4 to h1 and if They get an RFE,can they leave US and come back?

what happens if the h1 petition gets approved while the person is not in US? Will he/she be able to return back to US on their H4?