Can a habitable planet having complex life exist in a binary star system with a Red Giant? I am not talking about close binaries, but distant binaries (100 AU or more). Planets can orbit some smaller stars (F, G, K, M class) in an S-type orbit, in order to have a steady source of light and heat. Does the red giant in that large distance affect the habitability of this planet? Is a similar setup possible with a Yellow Giant?
Edit: In the original question there was a typing error when I wrote that separation of binaries is 100 ly or more, but I intended to write 100 AU.