Drying garlic in the sun might result in sunscald (damage from excessive, direct sunlight), especially if you live in a hot, sunny area. To eliminate the risk of sun damage, it's best to cure garlic in a warm, dry, ventilated space in the shade.