If you have not landed yet you should let CIC know of your separation and yes of course your application for PR would be invalidated. What else were you expecting?!
If you have already landed and you were separated before your landing and didn't mention this on the border, then you have...