I don't know what your friend bought....You need to ask him/her what type he bought.
It depends on whether it’s a Retail or an OEM/System Builder licence.
Retail Product Keys work for both, 32bit and 64bit
OEM/System Builder Keys work for only the licensed one, 32bit or 64bit.