Well... Kind of. But that's because combustion requires an oxygen rich atmosphere. Life as we know it depends on oxygen but that doesn't mean fire requires life. We've found planets with O and C in their atmospheres so fire is definitively not exclusive to earth.