Does a Failed Transaction Still Occupy Block Space?
Yes, a failed (reverted) transaction still occupies block space. The transaction itself, along with the proof of its execution and failure, is included in a block to ensure that the failure is recorded on the immutable ledger.
This consumption of block space is why the transaction fee is still paid.