Assuming the new machine is also a Mac, then yes. Deactivate it on the old machine (Help > Deactivate), then install and activate on the new machine.
Technically, you are allowed two activations at once. But if you are retiring the old machine, why waste an activation? Deactivate it first.
-OB