Today I was installing the Ford Escape rear shocks, as Coff33 did on his RAV4.
If we measure the shocks from center to center when fully extended; the original RAV4 shocks are 25'' long. The Escape shocks are 26'' long.
Then I asked myself how long can I go to get the more suspension travel... until something happens (ex: the axle's tripod fall into the boot).
Remember my RAV4 has OME 1.5'' lifted springs + 40mm spacers, and that it has a sway bars delete... so the result should be different if you don't have the same suspension set-up.
I started with 28'' long (center to center) shocks. When I raised the vehicle, the axles were good to go... BUT the springs fell off the the 40mm spacer's bed doing a big klong sound.

Same thing with 27.5'' long shocks. Finally; it ended with a maximum lenght of 27'' to avoid any problem. I'm still really happy with the result.