If you take it as "will they survive if they do that", then yes, it's true for the reasons you describe.
If you take it as "will they consider that as a plausible option worth discussing" the answer is hell no, it would be laughed at in their board room and not even given a serious thought.
Giving up $4 or $5 billion (actually, FB European revenue was 10+ billion in 2017; giving up EU would lose all the revenue but not decrease the costs proportionally, but not that the number matters) of that is much more than a dire problem, it's a taboo situation - they'll survive if it magically happens, but nobody would even dare to be seen allowing it happen or not doing their utmost to prevent it. Even if there's absolutely no way around it, they'll go down screaming and do pretty much everything possible and impossible to avoid giving up that much money.
They're one of the most profitable large corporations in world history in terms of margins. Their net income margin last quarter was 41.6%. Facebook will generate at least $23b in profit this year (probably closer to $25b). Giving up $4 or $5 billion of that is not a dire problem.