Yes you can be afk for hours, but the hours made from being afk, doesnt count as required hours for admin. You must show some of your hard work to the admins with PLAYED HOURS in the server that make them think you deserve the admin.
And one more thing to add here, you dont have to stay afk all night for no reason, why would you do that and for what???
Thank you for understanding : P