You may be able to pursue naturalization in the US after 5 years of living here.
You can see the requirements here.
You must have 5 years of continuous presence in the U.S. International travel outside the U.S. longer than 6 months at a time will disrupt the continuous presence requirement. For more information on continuous presence and physical presence, please see this USCIS site.
Also, remember that you should work in good faith to complete your commitment to your sponsor, and not doing so will have negative consequences on your naturalization process.