From the IRS site..
Q. Who cannot take the credit?
A. If any of the following describe you, you cannot take the credit, even if you buy a new home:
You buy your home from a close relative. This includes your spouse, parent, grandparent, child or grandchild....http://www.irs.gov/newsroom/article/0,,id=206291,00.html
I guessing that would include inheriting if you cannot buy it from your parents and get the Credit...
As the others said you can check with a Tax accountant to be sure...
I would suggest you speak with your tax accountant to be certain this is correct given your circumstances and see whether you are entitled to any other tax breaks.