I think it depends more upon where your backlinks come from rather then the domain extension (although .co.uk tend to rank better on google.co.uk then .com and the same goes for google.com the other way round), if alot of your backlinks come from .co.uk domains, you will rank better in google.co.uk then google.com. least that is my understanding.