You can tax a city even if its resource stack is empty. You do not gain the first resource into your area.