You can't delete the last Google account from an Android device.
The trick I used to 'liberate' people who were fed-up with the Google sync was to change the account password from a PC using the web interface when the phone was turned-off.
Then boot the phone and the account sync will error-out; at this point you should be able to delete the account from the phone.