The credit must be repaid to the IRS over 15 years starting two years after the credit is taken. So the credit is really an interest free loan from the government.
You are considered a first-time homebuyer if you did not own a principal residence for three years prior to the purchase of the home.
The home must be purchased between April 9, 2008 to June 30, 2009.