Tax law changes

You can contribute to a IRA if you have earned income from W2 wages or a Net Profit from self employment income.  You can only contribute up to your earned income.  It doesn't matter where or how you make the contribution.

 

See IRS Pub 590-A IRA Contributions

https://www.irs.gov/pub/irs-pdf/p590a.pdf