What sort of litigation?
There are some types that are pretty certain to be resolved, and can be resolved fairly quickly.
There are other types that could drag on for years.
You need to get a fairly good idea where along that spectrum your house falls. Best place to start is your Realtor.
Hope that helps.