Sure. You will lose your jailbreak, but your device will be operable. It may take a few tries to get the installation to fully complete, especially if you made the mistake of choosing the erase all contents and settings option in the device's settings.