Homological Nerve Theorem