To keep talent, the defense sector must offer good pay and flexible work. Employees value these and are more likely to stay.