Here's a link to a site that shows the
depreciation ratings for various cars. Of all the cars you mentioned the G35 has the highest resale value.
Personally having driven the TL, BMW 3-series, and the G35(coupe). I love them all. But once you've really explored RWD, FWD cars feel handicapped. I think that's why the TL loses reviews. If you are a driving enthusiast and have owned a well balanced RWD sports car, then you know what I'm talking about.
I'm probably a bit biased (I own a 300ZX TwinTurbo) but I think I'd take the G35(coupe).