Sorry but there is no conditional deletion of files depending on location.
Whilst you can set a 1st action, 2nd action and 3rd action (and you can set the action from a drop down list), by detection type (Virus, PUP, Suspicious) - but that applies to all detections not detections from different locations.
Avast settings > Active Protection > File System Shield - Customise > Actions - this gives the detection type and the actions list - this however, isn't conditional by location.