Archiving Periods and Criteria (PP-SFC) 
Residence Times
The residence time 1 is the interval between the point at which the deletion flag is activated and the point at which the deletion indicator is activated.
The residence time 2 is the interval between the point at which the deletion indicator is activated and the point at which the order is archived and deleted from the database.

If the residence time 1 is equal to 0, the deletion flag and indicator are activated simultaneously.
Residence times are defined in the order type. These times can be defined in Customizing for Shop Floor Control under Master Data
® Order ® Define Order Types.