Yes, it is required under California law.  Also, you should be given a copy of the retainer agreement immediately after you sign one by your attorney.