If you mean that you are the one switching out before getting killed, then yes, your opponent will be able to switch out afterwards.
As soon as the user of mean look switches out, the opponent can as well.
Your opponent can have ways to escape even earlier, if it carries u-turn for example.
Hope I helped :)