A nonimmigrant (temporary) visa can help you get into the United States, but if you're looking to become a permanent resident, it might not be a good idea.
Timing the filing of you I-751 petition is important. Filing to early can delay your green card, and filing too late can lead to serious problems with USCIS.