It can matter, if you are a seller say in the uk and dont sell out of the uk then you would want to go for the domain .co.uk the reason is that people will select uk only when searching, but people do search in say google.com more as well and you will find that .co.uk dont come up the same as .com domains so could involve more work on the marketing and linking side if you want them to show for some results
