No, It doesn't really matters, also it will be legally correct, but as a good practice name should be same as in government IDs,
Hope it will help.