No, you do not an account at the time you enter your code. However, before the shares can be purchased you will need a trading account. 

Once you redeem your gift card you will be prompted to either login or register an account.

If you have an account, login to your existing account to fast track the purchase.