Yes, if someone is within the range of the attendance mesh-network as attendance is being marked, they would be marked present too.
However, you can take attendance any time you want during the lecture so this shouldn't usually be a worry. So if someone is willing to stand right outside the door the entire time… well yes. They can then fool the system.
We recommend that you read this post about attendance to understand the process perfectly.