Change the ServiceNow incident auto close duration from resolved state

We can change the property in the ServiceNow UI properties to automatically close the incidents after a certain period from resolved state.

It can be done as below