http://www.irs.gov/pub/irs-pdf/p519.pdf
Your parents need to be resident alien for you to treat them as dependents. They are resident alien if they meet either green card test or substantial presence test. Since they will fail green card test, you need to read the substantial presence test carefully, in PUB-519 page 4-6.