There are multiple threads on this forum that have already answered this question.

No, you will not be able to add your old CD key to Steam without purchasing the game again.