Application Customizing (PM-SMA-SC/PM-WOC-MO) 
Before you can archive maintenance orders (PM orders) or service orders, the system performs different
checks.One of the checks concerns the residence times. Residence times are part of the order type. You can configure residence times in Customizing under Plant Maintenance and Customer Service
® Maintenance and Service Processing ® Maintenance and Service Orders ® Functions and Settings for Order Types ® Configure Order Types.