어야/아야/여야 has two meanings.
1. should, ought to, have to
ex)
사람은 먹어야 산다.
Human must eat in order to live.
물이 깊어야 고기가 산다.
It requires deep water for fish to live.
2. no matter how (follewed by negative verb)
ex)
네가 아무리 울어야 소용이 없다.
No matter how often you cry, it is useless.
아무리 길어야 한 달을 넘지 않을 것이다.
No matter how long it takes, it won't take a month.