Where did you get that idea? In order to get divorced in California, at least one spouse must be a resident of California for at least six months. Cal. Fam. Code section 2320(a).
You can file anything you like, and no law requires that you have an attorney. However, when you fill out the required Judicial Council Petition for Dissolution of Marriage, how will you complete section 2a?
Who are "we"?
In any event, you certainly should seek advice from a local family law attorney.

