This is going to be a generic answer, but it's really going to depend on the space the cat is living in.
First, cats are desert animals; they've evolved to not need much water, and their fur provides insulation against both hot and cold weather. So assuming they're in good health, they can deal with heat.
Second, though, depending on the living space, a house/apartment can be built to either deal well with hot/cold weather or not, and may or may not have been built with air conditioning or heating in mind. I say this as someone who came home one day in the middle of summer to discover that the air conditioning in my apartment had failed, and I could literally feel the heat radiating off of my walls. It was far hotter inside than out. Luckily, my cats were both fine. But my condo was built with the assumption of air conditioning; there were skylights in the living room and no natural ventilation. It was also a second story condo, so no way to transmit the heat into the ground.
I'd personally open as many windows as possible and provide some ventilation, with one fan in blowing air in, and another fan elsewhere blowing air out. That way, you should be fairly certain that the living area won't get any hotter than the outside. However, be careful that the cats can't somehow knock the fans onto themselves.
However, if you have, say a basement, or a bathroom attached to a concrete slab, those are probably going to stay cooler than the rest of the living area, as they have the ground as a heat sink. So your cat(s) are probably going to be spending time in there. And you might consider putting a lot of ice into some water they can drink; it would take longer for a larger mass of ice to melt, and it will stay cool until it's melted. You might also consider wrapping ice packs in towels or something and putting them somewhere that the cats could lay if they wanted to.