While rarely prosecuted for personal use, activation key fraud violates the (US) and similar laws in the EU. Kaspersky has cooperated with law enforcement in the past to take down key-sharing operations.
Even a simple text file with a “key” might contain a script that adds your PC to a proxy network.
a. : Keys might have been previously used or expired.