Yes.
This has nothing to do with tax, on the distributions; but whether you qualify for the credit. Any distribution, taxable or not, disqualifies you from the credit (you can't take money out and get a government credit for essentially putting the same money back in)