Dissociation is the brain's last-resort defence mechanism against extreme stress, trauma, or emotional pain.
Is it "bad"? That's an arguable point, but it has its place as a survival mechanism.
It's not really ideal as a long-term coping or therapeutic mechanism because it reinforces avoidance of root problems. The more something is avoided, the harder it becomes to face it, the greater the want/need to avoid it becomes, etc. It's a cycle that, over time, becomes worse and more challenging to break.
There are some warning signs to be mindful of: Memory gaps (eg. blacking out or losing chunks of time), shifting identity (eg. inner conflicts that feel like separate voices or people), extreme emotional instability (eg. feeling like emotions are happening "to" you rather than occurring from within you), paranoia, reality distortion, or severe depersonalization (eg. feeling as if your past history happened to someone else).
These aren't necessarily a danger in and of themselves, but they can be an indicator of severity and a sign of it becoming more ingrained within you, which can slow integration and make treatment efforts more challenging.
Overall, dissociation is not exactly ideal, but if this is what's allowing you to survive, then do what you need to do.