Yes. I do so because it is an easy way to register the computer, and it's sent immediately.
When giving a computer to somebody else, in order to make sure the data is erased, start up the Mac from a System CD / DVD, then use Disk Utility to "erase" the disk, making sure the "Zero all data" option is checked.