Maybe you can pick up the resonance of a heartbeat on the hull?
Possibly, if you use something like a laser microphone to detect vibrations in the hull, not just of hearbeats but of breathing, motion, etc.
Thermal through a ships hull?
Unlikely; even in real life here on Earth, thermal scans can't actually see through walls the way they're shown to in fiction. After all, keeping heat from passing through is one of the basic functions of a wall.
https://www.flir.com/discover/home-outdoor/can-thermal-imaging-see-through-walls/
On the other hand, even though you couldn't see individual heat signatures, if there are warm bodies inside a ship, that heat would eventually warm up the hull itself, which would differentiate it from a ship whose crew had been dead for a while. But that's only the case if the engines and other heat-generating systems have been inactive for a while as well. Contrary to what fiction shows (because fiction gets a ton of physics wrong), vacuum is an insulator, so things in space don't instantly freeze; if anything, the greater risk in a spaceship or spacesuit is overheating. One of the most pervasive failings of science fiction spaceship design is the lack of the external heat radiator fins that would realistically be necessary to keep the crew from cooking inside the hull. (I consider this a missed aesthetic opportunity as well -- wouldn't spaceships be even cooler with sails?) Anyway, the point is that the waste heat from a ship's engine would presumably swamp the thermal signature of the crew, so if the engines or power generators were active, you probably couldn't tell if there was a living crew inside or not.
Presumably, life signs would be detected by some kind of active scan in a frequency that penetrates the hull, but you'd presumably want a spaceship hull to block most forms of radiation, at least the high-energy kind that's harmful to life. We already ruled out infrared, and visible light is out except for the looking-in-a-window suggestion, so that leaves lower-energy wavelengths like microwaves... but the whole way radar works is by reflecting off of vehicle hulls, so that probably wouldn't be good for looking inside. So we're probably talking about some kind of subspace frequency, since subspace radiation is imaginary and can do whatever the story says it can.
Of course, we shouldn't dismiss looking through the windows. Even aside from directly imaging the crew, you could take spectral and thermal readings of the atmosphere inside and potentially determine whether there was respiration occurring, whether there were subtle air currents resulting from crew movement, etc.