The simple answer to your question is that a receiver can detect signals as long as the signal-to-noise ratio is significantly over unity, i.e. we can detect the signal beyond the background radio environment and receiver noise, SNR = P[SUB]r[/SUB]/N, where
P[SUB]r[/SUB] is the received power of the comm link and
N is the receiver system noise.
P[SUB]r[/SUB] = P[SUB]t[/SUB]⋅A[SUB]et[/SUB]⋅A[SUB]er[/SUB]/(d⋅λ)[SUP]2[/SUP]) where
P[SUB]t[/SUB] is the transmitted power,
G[SUB]t[/SUB] is the gain of the transmitter antenna,
G[SUB]r[/SUB] is the gain of the receiver, and
λ is the wavelength of the RF signal.
The gains are directly related to effective aperture area of the transmitter and receiver by G = 4⋅π⋅A[SUB]e[/SUB]/λ[SUP]2[/SUP]. So the larger your transmitter or receiver, the more gain you get.
Now, these assume the SNR a basic single pulse width modulated system at a single amplitude (could also be phase or frequency modulated but let’s keep it simple). A more complex modulation scheme or a longer duration pulse width may make it possible to make a signal carry more information per unit bandwidth or detectable closer to the noise level, but for a given noise floor on a receiver the SNR depends fundamentally on aperture. Ambient RF ‘noise’ could also play an issue, but except for the microwave background space is mostly empty of RF (or more correctly, space is permeated by RF but at such low levels that it isn’t a consideration) unless you are pointed directly at another RF signal like a star or black hole.
Most dedicated deep space communications systems use X-band (f= 8 GHz to 12 GHz) or S-band (f = 2GHz to 4 GHz), transmitted by a directional (tight beam) antenna. The typical frequency bands used for television, VHF and UHF (30 MHz to 300 MHz, 300 MHz to 3 GHz) and radio (540–1610 kHz for US AM) have lower frequencies and correspondingly larger wavelengths, which also means more divergence of a tight beam, but since TV and radio signals are broadcast with a omni-directional transmitter (more or less) the signal power can be assumed to just reduce at the normal r[SUP]2[/SUP] rate.
What this essentially means is that we couldn’t even detect standard NTSC or PAL television signals at Lunar orbit, notwithstanding attenuation of Earth’s atmosphere. Similarly, commercial and private radio signals, except for the lower half of microwaves, don’t penetrate Earth’s upper atmosphere and ionosphere, a quirk that shortwave and ham operators used to transmit beyond line of site around the world. You might be able to get some FM and high end of VHF frequencies in low orbit, as well as higher frequency ham signals during favorable times (night, low solar activity) but to get a useable signal in upper orbit would require a very large deployable receiver. Getting useable broadcast signals at interplanetary, much less interstellar range is practically impossible.
The only way we could detect a radio signal from another star system is if it were directed specifically at us at very high (gigawatt or higher) broadcast power. Laser is more likely (and would be more detectable owing to the coherence and monotonic frequency of the signal) but we’re not currently looking for visible signals and we could only detect X-ray or higher beams above the atmosphere. However, if a hypothetical alien race were using nuclear fusion for propulsion or radiant power production, the spectrographic lines would be distinct from natural fusion processes. I could only hazard a wild ass guess as to how far we could detect the characteristics of a fusion plume but I’d guess dozens or perhaps even hundreds of light years depending on the power output.
Stranger