The automation rules (under Admin > Workflows > Automations > Time triggers) will work on all tickets except those tickets marked as Resolved or Closed that have no updates made in the past 30 days.
For all tickets in statuses other than Resolved or Closed, these rules will get triggered if the conditions are met.