Also when I use Yanfly's party engine and deposit a character they still appear on main menu is that a bug ?
no, that is intentional - I alreadfy said that you can't use yanflys party manager to do what you want, because it only manages the party - it cannot remove or add people to the party.
The actors are still in the menu because all actors handled by that party manager are still in the party, you just switch them between reserve party and active party, but the party is always the combination of both reserve and active members.
and yes, I meant to make a new map for that - you could either make that as a menu or as a tavern where the actors not in the party rest and so on.
each event there needs at minimum three pages, more if you want to add stories or quests to this map.
first page has no condition and no sprite - this is if the actor is not available
second page should be conditioned to a switch (a different switch for each actor) that tells "this actor is now available for recruiting". the content would be a question if you want to add that actor to the party or not, followed with a change membership command for that actor.
third page would be conditioned to "actor exists" (which means actor is in the party) and show an empty bed or chair, and the content would be asking to remove the actor from the party or not (followed by a change membership command).
There are other ways to do this (for example hide followers and use the actor sprite even for the third page, just experiment with that.