More than 1,000 workers will lose their jobs when retailer Coles Myer closes two distribution centres - but the company is set to create more jobs by opening new centres to replace them.