No. Using cheat codes in single-player games is not a crime. The worst that usually happens is that achievements stop unlocking or a save becomes unplayable.
Online cheating is different in kind rather than in law: it breaks the game's terms of service and can get an account permanently banned, but it is still not a jailing offence.