The response time does not depend upon the Status of a Ticket. 


So, if a ticket is moved to Waiting on Customer or Pending, the time spent in those statuses would also be considered for response time.