pension - keep it or withdraw all?

Hey there

I have read several threads or related topics, when people (e.g. non-EU citizenship) is leaving Switzerland permanently, and he/she has been working as normal employee in Switzerland for several years (then, naturally contribute to the 1st and 2nd pillar)..

In this case, i read that it's ok to withdraw all contributed penstion (1st, 2n pillar) as lump sum (e.g. moving to another non-EU country), howeveer, i did not find too much info about another case - what if i want to keep the pension still as it is, and withdraw per monthly basis (e.g. from 1st and 2nd pillar) after normal retire (even it'll be in another non-EU country), would that be possible as well?

many thanks and enjoy your day.