I am willing to give resignation at the last day of month and not serving the notice period, will it be accepted? I have 2 months notice period and willing to resign immediately.
If your contract has a two month notice period, then you have to give them two months notice.
They might agree to let you go immediately without serving the period, and it's often in the company's interest to do so (because they're probably not going to get much useful work out of you for if you're there against your will, and it gives you more chance to steal confidential information or try and take clients with you or stuff like that). But that's entirely at their discretion.
If you just say "I quit, and I'm not coming back" then can't force you to come into work. But depending on where you are, they might be able to withhold your pay for your last month, or may be able to sue you for breach of contract (although it's probably not worth their time to do so). Don't expect a good reference though.