Yes. It depends on how you treat that money in the US. If you use the Foreign Earned Income Exclusion, then the income is not "earned" in the US and doesn't count towards income that you can contribute to a Roth. I believe you can use the Foreign Tax Credit instead and then the income will count, but it's still rather tricky, from what I can tell.