Retirement tax questions

Right.  It doesn't matter what account you take the contribution from BUT you need earned income from wages or a Net Profit on Schedule C for self employment income to make a IRA contribution.