Yes it depends on both.Considering Avni escaped d very next day ( after d consummation) , so its safe to say they both are ''kaabil''...just dey didn't conceive.A lof of factors affect this...potency, fertility, timing of cycles, hormones, protection...etc etc.And sometimes inspite of evrythng being correct...people still dnt conceive.