Yes, provided they are not excess contributions, your personal contributions to the Roth IRA are considered for the Retirement Savings Contributions Credit. Similarly, distributions from a Roth IRA reduce for several years the amount of new contributions considered for the credit.