What do you mean "both of them had the same woman"???
You should marry and spend significant time together before filing a petition, and even consider moving to Algeria.
It will be sent back to the USCIS because they suspect fraud, and you will get a NOIR/NOID. The way to overcome this is by spending more time together in person. Unfortunately, people from your boyfriend's country and community have perpetuated US immigration/marriage fraud, so the bar is set much higher than for low fraud countries.
And there may be other red flags. Are you from different religions?