Yes it matters. The 20 digit code is region locked. If you are NA and get stuck with a EU key you cannot redeem it.
- - - Updated - - -
The 18 digit code tells SE you preordered somewhere. They then assign you a 20 digit code that you have to register to actually get access to the headstart.