However, is there anyway to be divorced and still stay here?
I'm not expert on Polish law - but I think it depends on your visa. If your visa is work related, then you should not have issue if you divorce. However, if your visa was given based on marriage with Polish woman, then the fact that you are getting divorced will most likely invalidate visa. You should be given some sort of notice, and even before you could try to change your visa status. If your company is willing to support your application it should be easier.