A security deposit may be used for cleaning the rental unit when the tenant moves out, but only to make the unit as clean as it was when the tenant first moved. (Civil Code Section 1950.5(b)(3).)
It does not seem legal if the management company is telling you that it is going to make the security deposit deductions even without seeing the condition of the unit.
The information presented here is general in nature and is not intended, nor should be construed, as legal advice. This posting does not create any attorney-client relationship with the author (who is only admitted to practice law in the State of California). For specific advice about your particular situation, consult your own attorney.
Frank Chen is correct. The management company should examine the condition of the property before they attempt to deduct from your security deposit. And for additional supporting legal references, please see http://www.dca.ca.gov/publications/landlordbook/sec-deposit.shtml
Note specifically that a California lease provision that attempts to give the landlord the power to deduct these items automatically may be challenged under California Civil Code Section 1950.5(m), which states that a rental agreement can never state that a security deposit is "nonrefundable."