Yes, you can still jailbreak. However, there is no untethered jailbreak out at the moment for iOS 5.1. Meaning if you ever turn your iPhone off, you'll need to plug it back into your computer and jailbreak it again.