A company can set up the terms of work much as it sees fit (absent some form of legally actionable discrimination). This includes requiring any deposits that it deems necessary and/or mandating that workers sign non-compete agreements.