No. Diablo II and Diablo II: Lord of Destruction each ship with their own separate CD keys.
You need both a valid base-game key and a valid expansion key, and each key is tied to its own copy. Two machines running the same key won't both stay online.