If you have filed an application for immigration on the I-130 visa petition then, it won't help you. This is because the petition will just start the immigration process. It has nothing to do with the status of your green card after you get a divorce. It will not provide the immigrant with any kind of right to remain in the US. Therefore, if your marriage is at this point you will not be admitted are legible as a US immigrant.