If you use both homes as a personal residence, the answer is yes. You should file a single Form 5695 and add the two credits together.
You are not allowed to take the credit on rental or investment properties you own.
https://www.irs.gov/pub/irs-pdf/i5695.pdf
**Answers are correct to the best of my ability but do not constitute tax or legal advice.