Buying the upgrade version of Windows 7 allows you to legitimately install and activate the 64-bit version of Windows 7 even if your previous version was Vista 32-bit.
BUT in terms of the actual install procedure, an "in-place" upgrade of 32-bit to 64-bit is not supported - you'll have to install a fresh copy of Windows 7 and then migrate your accounts and reinstall your applications.