Catalysis of an NADPH- and oxygen-dependent reaction that converts arachidonic acid to cis-5,6-epoxyeicosatrienoic acid.