We recommend consuming leftovers no longer than 4 days after cooking, but 7 days is the maximum, according to the FDA.  Due to the acidity content in green chili, leftovers should be fine on day 5.