Recessions are tough on workers, but lots of unemployment can also lay the groundwork for a better economy in the future.