Yes, downloading PS3 games from unofficial sources is illegal, even if you own a physical copy.
Always obtain games from official sources to respect creators and protect your devices.