In a non-spoilerish way, you should be able to keep any NPC if keeping them is your goal. Even if you ask them to leave nicely using the dialog, they will go wait and tell you where and will rejoin when asked. Other things that you can do to get them to leave on hostile terms are obvious and they give warnings. You should be able to tell.