Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) and Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) both said that it is necessary for the mu'takif (the one performing i'tikaf) to be fasting.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8585