If you're thinking about returning to work after retirement, it's important to understand how a new job may impact your retirement benefits.