It used to be more important but isn't really any more. If you are targeting local it is best to go for your cuntry's tld. eg you own a bakery or have a local football team and are setting up a website it's better to use the tld of your country rather than a .com, org. net etc.
Where it's important for warez is how safe the tld is and what are the chances of it being confiscated.
Two years ago .com, .net .org were though to be very safe but have recently being started to be confiscated. Obviously .co.uk .us etc aren't safe either.
Torrentfreak did a good article on this recently and which domains were safe and who to avoid.
Going back to SEO though the tld doesn't matter much if your aiming at a global audience.