Yes, you're eligible even if you're not a citizen, as long as you have U.S.-based capital gains. The IRS just issued regulations detailing how you can do this. You'll need to navigate some compliance hurdles, but it is possible, and the government wants you to make the investment in the U.S.