Yes. All copies together are treated as a single product, regardless of how many upgrade versions you've acquired.
How can I identify illegal Microsoft software?
Questions and answers about the End User License Agreement