Have a Tax Question? Ask a Tax Expert
Yes, since you lived in a home for 5 of the 8 years before you purchased your December 2009 home, you qualify for the maximum $6,500 credit.
"A long-time resident of the same home can now qualify for a reduced credit. You can qualify for the credit if you've lived in the same principal residence for any five-consecutive year period during the eight-year period that ended on the date the new home is purchased and the settlement date is after November 6, 2009. "
Here is an IRS publication on the issue: http://www.irs.gov/pub/irs-pdf/p4819.pdf