A contested unlawful detainer on a former owner can take on average 47-59 days in CA and a contested eviction on a tenant can take on average 67-79 days. This does not account for difficulties serving the complaint, Motions to Quash, Demurrers or other delays.
If the case goes to trial and the judge rules in favor of the landlord the court will issue a judgment for possession. To enforce the judgment the landlord will then obtain a Writ of Possession that directs the sheriff to enforce the judgment of possession. The sheriff will serve a Notice to Vacate the property before enforcing the Writ of Possession.
Filing for bankruptcy could also allow you the possibility of further delays in the eviction process. I am not an attorney and do not pretend to have the knowledge that a legal professional would have for you. I obtained this information from past experiences with other clients as well as reliable sources that are licensed to provide me with an educated opinion.
Hope that helps! Good luck to you.
Diane Wheatley, Broker
Buy a home after foreclousre expert
Helping families/people that have lost their home get back into another in as little as 6 months