Yes. You can take the ipad out of the case and put the ipad within several feet and there will be no issues. There is a standard bluetooth connection between the keyboard/case and the ipad.
The keyboard does not detach separately but you can remove it out of the case and use the keyboard. For this you will need to buy a separate Bluetooth keyboard.