That would be the solution. It is NOT correct that a job offer will carry the day on this. File the petition. You will state your employment status, but it is not a criteria for petition approval. In about a year, but before the petition is approved, would be the best time to return to the USA and go to work. Returning after the petition is approved is also OK, but that will delay the process, as you will not be able to get into the interview queue until your affidavit of support is submitted and accepted. You need at least one pay stub for a full pay period to document your new current income at that time.