Deposit repayment process

Hi, does anyone how long it takes for tenants to get their deposit back? Thanks