Is it right to apologize everytime even if you were harassed in front of other people?

I had a female friend in office, we were really close. She is in a relationship so everything I did was respecting her and her choices.
I even did things which made me uncomfortable to make her comfortable in office.
I am a developer, and she is a manual tester in the same team.
I don't even like her, but she regularly verbally harassed me in front others which I didn't care about cause I was taking as sportingly.
One day at a party started harassing me physically, in front of juniors which broke me, felt like I lost everything I have earned through hardwork, getting all the recognitions, developing an application from scratch. I never created even a single prod issue till date.
It's been 3-4 months I don't speak to her, I don't go to lunch with that group now. And everyone took her side, in place of me (understandable)
But everyone keep asking me to forgive and forget?
Why should I apologise for something damaged my image in front of people?
Now I have resigned from the job, and people asking me to solve things with her.
I mean why should I take this step?
I am Moving to another country actually, for further education and get a better opportunities. It's completely unrelated but people have associated this with that!
She still gets to enjoy with all other colleagues, still she is called to all the parties, she is called for all the outings hikes and movies where as people have forgotten me!!.
I never minded this but why they want me to say sorry?
Is it right to apologize everytime even if you were harassed in front of other people?
Post Opinion