Yes, but it may take about one year from now on for you to get the immigration visa (processing is very slow) and also you need your employer to hire you at that time (give you the job offer letter) for the immigration visa application. So, you had better come back to US now to file I-485.