Alaska miles don’t technically expire as long as your account stays active. I logged in after almost two years without flying them, and my miles were still sitting there.
A tiny bit of activity — like earning miles from a hotel stay — is enough to keep everything alive.