abstinence

/ˈæbstənəns/

noun

The fact or practice of restraining oneself from indulging in something, typically alcohol.

I started drinking again after six years of abstinence

teetotalism,temperance,sobriety,abstemiousness,abstention