Welcome to iMore! I think you're asking how to remove your iCloud account from your iPhone if you've lost your password and recovery email.
The short answer is you can't remove your iCloud account without a password. However, you should have answered some security questions you set up your account and you can use those to reset your password and the log out once you've done that. Go to
http://iforgot.apple.com to get started, and during the process you should see an option to answer security questions rather than send a password reset email.
If you're still having issues you can try contacting
Apple Support and they may have some options for you.