Only if you have two separate CD keys. Each installation needs its own valid key, so a single purchase covers one machine.
Buying a second copy is the straightforward solution if you want to play on both, and it also keeps you clear of anti-piracy checks that flag duplicate keys.