To file for divorce in California, either you or your spouse must have lived in California for 6 months and in the county where you are filing your case for at least 3 months. You should anticipate that the process will take six months from the date your spouse is served, assuming you are diligent in moving forward with the case. Your filing fee will be $395; you can inquire with your process server (in India) about how much that will cost; if you are going to retain a lawyer, that cost will be between you and your lawyer. If you are indigent you can explore the possibility of a fee waiver for the filing fee.
You will need to check with a lawyer or legal resource in India to determine how to ensure that your U.S. divorce is recognized by that nation.

