The Data loader can be used to assign record ownership to inactive users.