If you're doing it as an investment and not living there, then no. Can't use the credit.
Any home that will be used as a principal residence will qualify for the credit. This includes single-family detached homes, attached homes like townhouses and condominiums, manufactured homes (also known as mobile homes) and houseboats. The definition of principal residence is identical to the one used to determine whether you may qualify for the $250,000 / $500,000 capital gain tax exclusion for principal residences.
Income limits of $75,000 for single taxpayers and $150,000 for married couples.